from aiogram import Dispatcher
from aiogram_dialog import DialogRegistry

from .links_dialog import links_dialog
from .logging_dialog import logging_dialog
from .soft_dialog import soft_dialog

__all__ = ["register_dialogs"]


def register_dialogs(dispatcher: Dispatcher):
    registry = DialogRegistry(dispatcher)
    registry.register(soft_dialog)
    registry.register(links_dialog)
    registry.register(logging_dialog)
